From 62f050b4aac9332476ae1003859fc206dee8c377 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 6 Jan 2009 18:15:08 +0000 Subject: [PATCH] Use wfMsgExt() with parsemag, so {{PLURAL}} will work. --- includes/specials/SpecialUserlogin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/specials/SpecialUserlogin.php b/includes/specials/SpecialUserlogin.php index 0f354c2475..1bb54ed62f 100644 --- a/includes/specials/SpecialUserlogin.php +++ b/includes/specials/SpecialUserlogin.php @@ -670,7 +670,8 @@ class LoginForm { $u->setNewpassword( $np, $throttle ); $u->saveSettings(); - $m = wfMsg( $emailText, $ip, $u->getName(), $np, $wgServer . $wgScript, round( $wgNewPasswordExpiry / 86400 ) ); + $m = wfMsgExt( $emailText, array( 'parsemag' ), $ip, $u->getName(), $np, + $wgServer . $wgScript, round( $wgNewPasswordExpiry / 86400 ) ); $result = $u->sendMail( wfMsg( $emailTitle ), $m ); return $result; -- 2.20.1